﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DesignerCategory("code"), XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough]
    public class RecordingConfiguration
    {
        private XmlAttribute[] anyAttrField;
        private XmlElement[] anyField;
        private string contentField;
        private string maximumRetentionTimeField;
        private RecordingSourceInformation sourceField;

        [XmlAnyElement(Order=3)]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=1)]
        public string Content
        {
            get
            {
                return this.contentField;
            }
            set
            {
                this.contentField = value;
            }
        }

        [XmlElement(DataType="duration", Order=2)]
        public string MaximumRetentionTime
        {
            get
            {
                return this.maximumRetentionTimeField;
            }
            set
            {
                this.maximumRetentionTimeField = value;
            }
        }

        [XmlElement(Order=0)]
        public RecordingSourceInformation Source
        {
            get
            {
                return this.sourceField;
            }
            set
            {
                this.sourceField = value;
            }
        }
    }
}

